package com.generator.marketManage.customerManage.service;

import com.generator.marketManage.customerManage.pojo.MarketCustomManage;
import com.generator.marketManage.customerManage.pojo.Users;
import com.generator.util.PageModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 88168
 * @since 2022-10-04
 */
public interface MarketCustomManageService {

    /**
     * @param marketCustomManage
     * @return 查询用户信息
     */
    public PageModel<MarketCustomManage> getMarketCustom(MarketCustomManage marketCustomManage, PageModel<MarketCustomManage> pageModel);

    MarketCustomManage getcustomOne(String customName);

    String logout(String customName);
    /**
     * @param custName
     * @return 恢复
     */
    String refresh(String custName);

    /**
     * @param marketCustomManage
     * @return 更新custom
     */
    String updateCustom(MarketCustomManage marketCustomManage);
    /**
     * @param marketCustomManage
     * @return 添加custom
     * 添加客户
     */
    String addCustom(MarketCustomManage marketCustomManage) ;
    /**
     * 查询市场组员
     *
     */
    List<Users> selectMarketMembers(String userName);
    /**
     * 分配给-市场组员
     *
     */
    String updateDistribute(MarketCustomManage marketCustomManage);


    PageModel<MarketCustomManage> getMoreCondition(MarketCustomManage customManage, PageModel<MarketCustomManage> pageModel);
}
